package com.linln.modules.points.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linln.modules.points.domain.Points;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author : pengliang
 * @version V1.0
 * @Project: timo
 * @Package com.linln.modules.points.repository
 * @Descriptio /**
 * @Project: timo
 * @Package com.linln.modules.points.repository
 * @Description: TODO
 * @date Date : 2020年12月11日 16:24
 */
@Mapper
@Component
public interface PointsMapper extends BaseMapper<Points> {
    //获取积分记录
    List<Points> getPointsByType(@Param("userId") long userId, @Param("pointType") Integer pointType);
}
